<?php

/**
 * IndexController - Index
 *
 * @author Fernando Dias Oliveira <rodox17@gmail.com>
 * @package intranet
 * @subpackage controller
 */

class Adm_IndexController extends AppBaseController 
{
	public function init()
	{
		parent::init();		
	}

    public function indexAction() 
    {
    	
    	//$caf01->getUserByPass('123');
		//echo $xml->getName() . "<br />";
		
		//$i = 0;
		
		  		
		// $this->view->obj_news = $xml;
		 
/*$yt = new Zend_Gdata_YouTube();
$query = $yt->newVideoQuery();
$query->videoQuery = 'cat';
$query->startIndex = 10;
$query->maxResults = 20;
$query->orderBy = 'viewCount';
echo $query->queryUrl . "\n";
$videoFeed = $yt->getVideoFeed($query);
 
foreach ($videoFeed as $videoEntry) {
   echo "---------VIDEO----------\n";
   echo "Title: " . $videoEntry->getVideoTitle() . "\n";
   echo "\nDescription:\n";
   echo $videoEntry->getVideoDescription();
   echo "\n\n\n";
}*/
		
    }
    
    public function homeAction()
    {
    	  $this->_helper->layout->disableLayout();
    }
}

?>